<html>
<head>
    <title>登录</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
</head>

<body>
    <form action="/user/login" id="frm" method="post">
        用户名：<input  id="username" name="username" value="muyu"><br>
        密码: <input id="password" name="password" value="111111"><br>
        验证码:<input  id="captcha" name="captcha" value="1234"><br>
        <button type="submit">提交</button>
    </form>
</body>
</html>
<script>
$(function(){
    // captcha=1234&username=muyu&password=111111
})

function login(){
    console.log($("#username").val());
}
</script>
